<!DOCTYPE HTML>
<html>
<head>
<meta charset="utf-8">
<script type="text/javascript" src="js/jquery.min.js"></script>
</head>
<body>
<input type="button" id="Button2" value="abcdefg" />
<script type="text/javascript">
  $(function() {
            $(document).click(function(event) {
           //   alert(parseInt($(this).css("width")))
           alert(event.pageX + '\n' + event.pageY);
           // alert(event.pageY);
            });
        });
  </script>
</body>
</html>